import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "../src/assets/flexible.js";

// import Vuetify from "vuetify/lib";
import {
  Button,
  NoticeBar,
  Popup,
  Rate,
  Tab,
  Tabs,
  SidebarItem,
  Sidebar,
  Card,
  Checkbox,
  CheckboxGroup,
  SubmitBar,
  Badge,
  Dialog,
  Overlay,
} from "vant";
import "vant/lib/index.css";
import "./assets/iconfonts/iconfont.css";

Vue.config.productionTip = false;
// 全局注册 Button 组件
Vue.use(Button);
Vue.use(NoticeBar);
Vue.use(Popup);
Vue.use(Rate);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Card);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(SubmitBar);
Vue.use(Badge);
Vue.use(Dialog);
Vue.use(Overlay);

new Vue({
  router,
  store,
  // vuetify,
  render: (h) => h(App),
}).$mount("#app");
